import * as types from './constant'

export function display(text) {
  return {
    type: types.DISPLAY,
    text: text
  }
}

export function buffer(text) {
  return {
    type: types.BUFFER,
    buffer: text
  }
}